package com.lishe.lishe.lishe.module.shopingcart.shoppcarinterface;

import com.lishe.lishe.lishe.module.shopingcart.bean.ShoppingCartObject;
import com.lishe.lishe.retrofit.BaseRequestBody;


import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by shino on 2017/12/28.
 */

public interface ShoppingCartInterface {

    //获取购物车列表
    @FormUrlEncoded
    @POST("order/cartList")
    Observable<BaseRequestBody<ShoppingCartObject>> getCartList(@Field("token") String token);
}
